#ifndef TEXTBOX_H_
#define TEXTBOX_H_

#include "Drawing.h"
#include "Resizable2DInterface.h"
#include "Text.h"

class TextBox : public Text
{
	public:
		virtual ~TextBox(){}
		TextBox();
		TextBox(string _text,int _x, int _y,int _w, int _h, DrawingCanvas *_canvas);
		TextBox(string _text,int _x, int _y, int _w, int _h,Color c, DrawingCanvas *_canvas);
		TextBox(string _text, int _x, int _y, int _w, int _h, Color c, Color bg, DrawingCanvas *_canvas);
		
		virtual void setWidth(uint _w);
		virtual void setHeight(uint _h);
		virtual void setSize(Size s);
		
		virtual int getHeight();
		
		bool contains(int x, int y);
};

#endif /*TEXTBOX_H_*/
